﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BLL
{
    public class Gbook
    {
        public bool SendMessage(String authorName, String eMail, String date, String bodyText)
        {
            if (new DAL.Gbook().SendMessage(authorName, eMail, date, bodyText))
                return true;
            else
                return false;
        }

        public bool GetMessages(out List<Util.GbookMessage> mList)
        {
            if (new DAL.Gbook().GetMessages(out mList))
                return true;
            else
                return false;
        }
    }
}